<?php
// src/Sdz/UserBundle/Entity/User.php
 
namespace VMS\UserBundle\Entity;
 
use FOS\UserBundle\Entity\User as BaseUser;
use Doctrine\ORM\Mapping as ORM;
use VMS\VitrineMultiSocieteBundle\Entity\categorie;
 
/**
 * @ORM\Entity
 * @ORM\Table(name="Gds_user")
 */

class User extends BaseUser
{
    /**
     * @ORM\Id
     * @ORM\Column(type="integer")
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    protected $id;
    /**
     * @var string
     *
     * @ORM\Column(name="type", type="string", length=255)
     */
    protected $type;
   
/**
     * @var string
     *
     * @ORM\Column(name="nom", type="string", length=255)
     */
    protected $nom;
    /**
     * @var string
     *
     * @ORM\Column(name="prenom", type="string", length=255)
     */
    protected $prenom;
    /**
     * @var string
     *
     * @ORM\Column(name="gsm", type="string", length=255)
     */
    
    protected $gsm;
     /**
     * @var string
     *
     * @ORM\Column(name="adresseDeLivraison", type="string", length=255)
     */
    protected $adresseDeLivraison;
    /**
     * @var string
     *
     * @ORM\Column(name="ville", type="string", length=255)
     */
    protected $ville;
    /**
     * @var integer
     *
     * @ORM\Column(name="codePostale", type="integer")
     */
    protected $codePostale;
    /**
     * @var string
     *
     * @ORM\Column(name="fax", type="string", length=255)
     */
    protected $fax;
     /**
     * @var string
     *
     * @ORM\Column(name="raisonSociale", type="string", length=255)
     */
    protected $raisonSociale;
     /**
     * @var string
     *
     * @ORM\Column(name="adresse", type="string", length=255)
     */
    protected $adresse;
     /**
     * @var string
     *
     * @ORM\Column(name="telephoneFixe", type="string", length=255)
     */
    protected $telephoneFixe;
    
     /**
     * @var string
     *
     * @ORM\Column(name="localite", type="string", length=255)
     */
    protected $localite;
       /**
     * @ORM\ManyToOne(targetEntity="VMS\VitrineMultiSocieteBundle\Entity\categorie", inversedBy="users")
     * @ORM\JoinColumn(nullable=false)
     */
    protected $categorie;
    /**
     * @var string
     *
     * @ORM\Column(name="civilite", type="string", length=255)
     */
    protected $civilite;
   

    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set type
     *
     * @param string $type
     * @return User
     */
    public function setType($type)
    {
        $this->type = $type;
    
        return $this;
    }

    /**
     * Get type
     *
     * @return string 
     */
    public function getType()
    {
        return $this->type;
    }

    /**
     * Set nom
     *
     * @param string $nom
     * @return User
     */
    public function setNom($nom)
    {
        $this->nom = $nom;
    
        return $this;
    }

    /**
     * Get nom
     *
     * @return string 
     */
    public function getNom()
    {
        return $this->nom;
    }

    /**
     * Set prenom
     *
     * @param string $prenom
     * @return User
     */
    public function setPrenom($prenom)
    {
        $this->prenom = $prenom;
    
        return $this;
    }

    /**
     * Get prenom
     *
     * @return string 
     */
    public function getPrenom()
    {
        return $this->prenom;
    }

    /**
     * Set gsm
     *
     * @param string $gsm
     * @return User
     */
    public function setGsm($gsm)
    {
        $this->gsm = $gsm;
    
        return $this;
    }

    /**
     * Get gsm
     *
     * @return string 
     */
    public function getGsm()
    {
        return $this->gsm;
    }

    /**
     * Set adresseDeLivraison
     *
     * @param string $adresseDeLivraison
     * @return User
     */
    public function setAdresseDeLivraison($adresseDeLivraison)
    {
        $this->adresseDeLivraison = $adresseDeLivraison;
    
        return $this;
    }

    /**
     * Get adresseDeLivraison
     *
     * @return string 
     */
    public function getAdresseDeLivraison()
    {
        return $this->adresseDeLivraison;
    }

    /**
     * Set ville
     *
     * @param string $ville
     * @return User
     */
    public function setVille($ville)
    {
        $this->ville = $ville;
    
        return $this;
    }

    /**
     * Get ville
     *
     * @return string 
     */
    public function getVille()
    {
        return $this->ville;
    }

    /**
     * Set codePostale
     *
     * @param integer $codePostale
     * @return User
     */
    public function setCodePostale($codePostale)
    {
        $this->codePostale = $codePostale;
    
        return $this;
    }

    /**
     * Get codePostale
     *
     * @return integer 
     */
    public function getCodePostale()
    {
        return $this->codePostale;
    }

    /**
     * Set fax
     *
     * @param integer $fax
     * @return User
     */
    public function setFax($fax)
    {
        $this->fax = $fax;
    
        return $this;
    }

    /**
     * Get fax
     *
     * @return integer 
     */
    public function getFax()
    {
        return $this->fax;
    }

    /**
     * Set raisonSociale
     *
     * @param string $raisonSociale
     * @return User
     */
    public function setRaisonSociale($raisonSociale)
    {
        $this->raisonSociale = $raisonSociale;
    
        return $this;
    }

    /**
     * Get raisonSociale
     *
     * @return string 
     */
    public function getRaisonSociale()
    {
        return $this->raisonSociale;
    }

    /**
     * Set adresse
     *
     * @param string $adresse
     * @return User
     */
    public function setAdresse($adresse)
    {
        $this->adresse = $adresse;
    
        return $this;
    }

    /**
     * Get adresse
     *
     * @return string 
     */
    public function getAdresse()
    {
        return $this->adresse;
    }

    /**
     * Set telephoneFixe
     *
     * @param integer $telephoneFixe
     * @return User
     */
    public function setTelephoneFixe($telephoneFixe)
    {
        $this->telephoneFixe = $telephoneFixe;
    
        return $this;
    }

    /**
     * Get telephoneFixe
     *
     * @return integer 
     */
    public function getTelephoneFixe()
    {
        return $this->telephoneFixe;
    }

    /**
     * Set localite
     *
     * @param string $localite
     * @return User
     */
    public function setLocalite($localite)
    {
        $this->localite = $localite;
    
        return $this;
    }

    /**
     * Get localite
     *
     * @return string 
     */
    public function getLocalite()
    {
        return $this->localite;
    }

    /**
     * Set civilite
     *
     * @param string $civilite
     * @return User
     */
    public function setCivilite($civilite)
    {
        $this->civilite = $civilite;
    
        return $this;
    }

    /**
     * Get civilite
     *
     * @return string 
     */
    public function getCivilite()
    {
        return $this->civilite;
    }

    /**
     * Set categorie
     *
     * @param string $categorie
     * @return User
     */
    public function setCategorie($categorie)
    {
        $this->categorie = $categorie;
    
        return $this;
    }

    /**
     * Get categorie
     *
     * @return string 
     */
    public function getCategorie()
    {
        return $this->categorie;
    }
}